import 'package:enterprise_v6_app/app/components/custom_app_bar.dart';
import 'package:enterprise_v6_app/app/core/core.dart';
import 'package:enterprise_v6_app/app/modules/profile/assess/assessment_controller.dart';

class HomeMyAssessmentView extends StatelessWidget {
  HomeMyAssessmentView({super.key});

  final controller = Get.put(HomeMyAssessmentController());

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CustomAppBar(
        titleText: '培训档案',
      ),
      body: GetBuilder(
        init: controller,
        builder: (_) => _buildDisplay(),
      ),
    );
  }

  Widget _buildDisplay() {
    return Container(
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(10.w),
      ),
      child: Image.network('https://picsum.photos/200/300'),
    );
  }
}
